<?php
$file = __DIR__.'/1.txt';
swoole_async_readfile($file,function($filename,$content){
    echo "Read Success:filename:{$filename}".PHP_EOL."Content:{$content}".PHP_EOL;
});
echo "Read Start".PHP_EOL;